package test;

import com.opensymphony.xwork2.*;

public class firstDwr extends ActionSupport{
	private String username;
	private String password;
	
	public boolean testDwr(String name,String pass) throws Exception{
		if(name.equals("wen")&&pass.equals("12345")){
			return true;
		}
		
		else {
			 return false;
		}
	}
	
	
	public String getUsername(){
		return username;
	}
	
	public void setUsername(String username){
		this.username=username;
	}
	
	public String getPassword(){
		return password;
	}
	
	public void setPassword(String password){
		this.password=password;
	}
	

}
